package com.swx.identityservice.dtos.role;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;

@Data
@ApiModel("编辑角色Dto")
public class UpdateRoleInputDto {
    @ApiModelProperty(name = "角色id")
    private Integer id;

    @ApiModelProperty(value = "角色名称",example = "检察长")
    @Column(name = "Name")
    private String name;


    @ApiModelProperty(value = "单位id",example = "1")
    @Column(name = "AffiliatedUnitId")
    private Integer affiliatedunitid;

    @ApiModelProperty(value = "部门id",example = "2")
    @Column(name = "AffiliatedDeptId")
    private Integer affiliateddeptid;

    @ApiModelProperty(value = "审核人员角色id",example = "5")
    @Column(name = "DealRoleId")
    private Integer dealroleid;

    /**
     * 角色排序
     */
    @ApiModelProperty(value = "角色排序",example = "1")
    @Column(name = "RoleSort")
    private Integer rolesort;

}
